<?php
header("content-type:text/html;charset=utf-8");

require_once '../Classes/PHPExcel.php';
// 加载Excel文件
$inputFileName = '../score/rank.xls';
$objPHPExcel = PHPExcel_IOFactory::load($inputFileName);

// 获取第一个工作表
$sheet = $objPHPExcel->getSheet(0);
$row = 1;
$col = 'A';
$cell = $sheet->getCell("$col$row");
$value = $cell->getValue();
echo $value;
?>